namespace ICSharpCode.TextEditor.Document
{
	public class LineLengthChangeEventArgs : LineEventArgs
	{
		private int lengthDelta;

		public int LengthDelta => this.lengthDelta;

		public LineLengthChangeEventArgs(IDocument document, LineSegment lineSegment, int moved)
			: base(document, lineSegment)
		{
			this.lengthDelta = moved;
		}

		public override string ToString()
		{
			return $"[LineLengthEventArgs Document={base.Document} LineSegment={base.LineSegment} LengthDelta={this.lengthDelta}]";
		}
	}
}
